package edu.zjut.hjg.saas.biz.service;

import edu.zjut.hjg.saas.biz.model.Admin;
import edu.zjut.hjg.saas.biz.service.exception.ServiceException;

/**
 * 管理员服务
 *
 * @author hjg
 */
public interface AdminService {
    Admin authenticate(String username, String password);

    void updatePassword(Integer id, String oldPassword, String newPassword) throws ServiceException;
}
